package com.example.demo.pojo.Accounts;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class FundAccounts {
    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    private int accountId; // 账户ID

    private int userId; // 用户ID

    private int competitionId; // 大赛ID

    private String bankAccount; // 银行账户


    private BigDecimal totalAsset; // 总资产


    private BigDecimal availableFund; // 可用资金


    private BigDecimal frozenFund; // 冻结资金


    private BigDecimal positionValue; // 持仓市值(现在手头的股票市值)


    private BigDecimal amount; // 成本价总金额


    private BigDecimal positionProfitLoss; // 持仓盈亏


}
